package com.vpx.server.mapper.system;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.vpx.server.bean.entity.CType;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author Administrator
* @description 针对表【c_type】的数据库操作Mapper
* @createDate 2023-11-18 15:37:22
* @Entity generator.domain.CType
*/
@Mapper
public interface CTypeMapper extends BaseMapper<CType> {
    @Select("select * from c_type")
    List<CType> selectAll();
    @Insert("insert into c_type(id,type_name,type_sup_id,type_code,create_time) values(#{id},#{typeName},#{typeSupId},#{typeCode},#{createTime})")
    void add(CType c);

}




